/*
* $Id: JournalVisualComponent.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2008-2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _JOURNAL_VISUAL_COMPONENT_H_
#define _JOURNAL_VISUAL_COMPONENT_H_

#include "../PictureButton.h"
#include "JournalWin.h"

class CJournalComponent;

class CJournalVisualComponent : public IVisualComponent
{
	CJournalWin m_JournalWin;
	CPictureButton m_JournalButton;
public:
	CJournalVisualComponent(CJournalComponent* pComponent);
	virtual ~CJournalVisualComponent();
public:
	virtual IWnd* GetButtonInMainWindow();
	virtual void CreateComponentFrame();
	virtual IWnd* GetComponentFrame();
	virtual void UpdateComponent();
	virtual void Free();
};

#endif /*_JOURNAL_VISUAL_COMPONENT_H_*/